/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.alien.admin.modules.deploy.service.dto;

import com.alien.admin.annotation.Query;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.sql.Timestamp;
import java.util.List;

/**
* @website https://el-admin.vip
* @author zhouseyi
* @date 2021-09-22
**/
@Data
public class DeployRecQueryCriteria{

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> deployTime;

    @Query(type = Query.Type.INNER_LIKE)
    private String projectName;

    @Query
    private Integer projectId;

    @Query
    private String env;

    private Long id;

    /** 源分支 **/
    private String source;

    /** 部署状态 */
    @Query
    private Integer deployStatus;

    /** 部署阶段 */
    @Query
    private Integer stage;

    /** 发布流程相关 */
    @Query
    private Long publishDeployId;

}
